public class Main {
    public static void main(String[] args) {
        User normalUser = new User(UserType.NORMAL);
        User goldCardUser = new User(UserType.GOLD_CARD);
        User silverCardUser = new User(UserType.SILVER_CARD);

        PriceCalculator calculator = new PriceCalculator();

        double price1 = calculator.calculate(100.0, normalUser);
        double price2 = calculator.calculate(100.0, goldCardUser);
        double price3 = calculator.calculate(100.0, silverCardUser);

        System.out.println("Normal user price: " + price1);
        System.out.println("Gold card user price: " + price2);
        System.out.println("Silver card user price: " + price3);
    }
}